package com.ssh.tts.model;

public class Iou {
	private Integer IOU_ID;  //id
	private String  IOU_USER_ID;  //user_id
	private String  IOU_TRAIN_TRAINID;  //train_trainid
	private String  IOU_BUYDATE;  //buydate
	private Integer IOU_TICKETNUMBER;  //ticketnumber
	private Integer IOU_TOTALFARES;  //totalfares
	
	public Iou() {}

	public Iou(Integer iOU_ID, String iOU_USER_ID, String iOU_TRAIN_TRAINID, String iOU_BUYDATE,
			Integer iOU_TICKETNUMBER, Integer iOU_TOTALFARES) {
		super();
		IOU_ID = iOU_ID;
		IOU_USER_ID = iOU_USER_ID;
		IOU_TRAIN_TRAINID = iOU_TRAIN_TRAINID;
		IOU_BUYDATE = iOU_BUYDATE;
		IOU_TICKETNUMBER = iOU_TICKETNUMBER;
		IOU_TOTALFARES = iOU_TOTALFARES;
	}

	public Integer getIOU_ID() {
		return IOU_ID;
	}

	public void setIOU_ID(Integer iOU_ID) {
		IOU_ID = iOU_ID;
	}

	public String getIOU_USER_ID() {
		return IOU_USER_ID;
	}

	public void setIOU_USER_ID(String iOU_USER_ID) {
		IOU_USER_ID = iOU_USER_ID;
	}

	public String getIOU_TRAIN_TRAINID() {
		return IOU_TRAIN_TRAINID;
	}

	public void setIOU_TRAIN_TRAINID(String iOU_TRAIN_TRAINID) {
		IOU_TRAIN_TRAINID = iOU_TRAIN_TRAINID;
	}

	public String getIOU_BUYDATE() {
		return IOU_BUYDATE;
	}

	public void setIOU_BUYDATE(String iOU_BUYDATE) {
		IOU_BUYDATE = iOU_BUYDATE;
	}

	public Integer getIOU_TICKETNUMBER() {
		return IOU_TICKETNUMBER;
	}

	public void setIOU_TICKETNUMBER(Integer iOU_TICKETNUMBER) {
		IOU_TICKETNUMBER = iOU_TICKETNUMBER;
	}

	public Integer getIOU_TOTALFARES() {
		return IOU_TOTALFARES;
	}

	public void setIOU_TOTALFARES(Integer iOU_TOTALFARES) {
		IOU_TOTALFARES = iOU_TOTALFARES;
	}

	@Override
	public String toString() {
		return "车次:" + IOU_TRAIN_TRAINID
				+ ",订票时间：" + IOU_BUYDATE + ",订票数量：" + IOU_TICKETNUMBER + ",总价："
				+ IOU_TOTALFARES + "]";
	}
	
	
}
